<?php Yii::import('application.modules.user.models.User'); ?>

<?php $this->beginWidget('zii.widgets.jui.CJuiDialog', array(
    'id'=>'login-form',
    'cssFile'=>'/css/style.css',
    'theme'=>'sandstorm',
    'options'=>array(
        'title'=>'Вход',
        'autoOpen'=>false,
        'modal'=>true,
        'resizable'=>true,
        'text-align'=>'center',
    ),
)); ?>

<?php $this->renderPartial('application.modules.user.views.index._loginForm',array(
    'user'=>new User(),
)); ?>

<?php $this->endWidget('zii.widgets.jui.CJuiDialog'); ?>